<?php
/**
 * User: lsx
 * Date: 2017/6/24
 * Time: 11:37
 * Progress:0%
 */

namespace app\index\controller;


use icontroller\admin\AController;
use icontroller\admin\index\IAccountBill;
use logic\admin\index\LAccountBill;

class AccountBill extends AController
{
    private $logic;
    public function __construct()
    {
        parent::__construct();
        $this->logic=new LAccountBill();

    }

    public function index()
    {
        return view();
    }

    public function index_data()
    {
        $param=array(
            'search'=>input('keyword'),
            'limit'=>input('limit'),
            'offset'=>input('offset'),
            'sort'=>input('sort'),
            'order'=>input('order'),
            'begindate' => input('begindate'),
            'enddate' => input('enddate'),
        );
        $data=$this->logic->index_data($param);
        return $data;
    }

}